Page({
  data: {
    windowHeight: 100,
    
  },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    var that = this;
    
    //设置scroll-view高度
    wx.getSystemInfo({
      success: function (res) {
        that.setData({ windowHeight: res.windowHeight });
      }
    });
  },
  goGuideDetail(e){
    var id = e.currentTarget.dataset.id;
    if(id == 2){
     
      wx.navigateTo({ url: "../recoveryClassify/recoveryClassify"});
    }else{
      wx.navigateTo({ url: '../deliveryGuide/guideDetail/guideDetail?id=' + id });
    }
    
  }
})
